package dper.study.codes.hbase.api;

import dper.study.codes.elasticsearch.model.GitRepoModel;

import java.util.List;

/**
 * Created by leichen on 2017/4/18.
 */
public interface HGitRepoQueryService {
    public GitRepoModel queryByGId(int gitId) ;

    public List<GitRepoModel> queryByGIdList(List<Integer> gitIdList) ;


    public List<GitRepoModel> queryAll(int authorId) ;

    public List<GitRepoModel> queryAllByUpdateTimeRange(int authorId,long startTime,long endTime) ;

    public List<GitRepoModel> queryAllByUpdateTimeRangeUsingRedis(int authorId,long startTime,long endTime) ;

    public List<GitRepoModel> queryRowPrefix(int authorId,int querySize) ;

}
